package com.eden.service;
import com.eden.common.R;
import com.eden.dto.ArticleParam;
import com.eden.dto.PageParams;


public interface ArticleService {

    //分页查询 文章列表
    R listArticle(PageParams pageParams);

    R hotArticle(int limit);

    R newArticles(int limit);


    R listArchives();

    R findArticleById(Long articleId);

    R publish(ArticleParam articleParam);
}
